<?php
session_start();
header("Content-type: text/html; charset=utf-8");
include_once('TopApi.php');  
 
//$c = new TopClient;
//$c->appkey = appkey;
//$c->secretKey = secret;
$req = new ProductsGetRequest;
$req->setFields("product_id,tsc,cat_name,name");
//$req->setNick("???");
$req->setPageNo(1);
$req->setPageSize(40);
$resp = $c->execute($req);
var_dump($resp);
?>